<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>hovor_渐变时间</title>
		<style type="text/css">
			#box1{
				width: 100px;
				height: 100px;
				background: red;
			}
			#box1:hover{
				width: 400px;
				height: 400px;
				/*过渡属性,转变时间渐变设定*/
				transition: width 2s,height 2s;
			}
			#box2{
				width: 100px;
				height: 100px;
				background: deeppink;
			}
			#box2:hover{
				width:400px;
				height: 400px;
				transition: width 2s,height 2s,transform 2s;
				/*旋转属性*/
				transform: rotateZ(720deg);
			}
		</style>
	</head>
	<body>
		<div id="box1"></div>
		<!--分割线随之运动-->
		<hr />
		<div id="box2"></div>
	</body>
</html>
